package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Map;

/**
 * @author: Allen chen
 * @Date 2020/10/22
 * @Description:
 */
@Data
@ApiModel(value = "任务单盘点明细",description = "任务单盘点明细")
public class CountingTaskDetailVO implements Serializable {

    @ApiModelProperty(value = "任务号名称")
    private String taskCode;

    @ApiModelProperty(value = "库位号")
    private String locationName;

    @ApiModelProperty(value = "库位code")
    private String location;

    @ApiModelProperty(value = "盘点状态")
    private String status;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品库存状态")
    private String goodsStatus;

    @ApiModelProperty(value = "商品库存状态名称")
    private String goodsStatusName;

    @ApiModelProperty(value = "是否锁定")
    private Integer lock;

    @ApiModelProperty(value = "是否锁定名称")
    private String lockName;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "基本单位")
    private String goodsUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "生产日期")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime gmtManufacture;

    @ApiModelProperty(value = "过期日期")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime gmtExpire;

    @ApiModelProperty(value = "容器号")
    private String containerBarCode;

    @ApiModelProperty(value = "盘点单号")
    private String countingCode;

    @ApiModelProperty(value = "盘点明细标识")
    private String countingItemCode;

    @ApiModelProperty(value = "商品编码")
    private String goodsCode;


    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;


    @ApiModelProperty(value = "盘点数量")
    private Integer countingQuantity;


    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "存货日期")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime gmtStock;

    @ApiModelProperty(value = "批次号")
    private String lot;

    @ApiModelProperty(value = "收货批次号")
    private String receiveLot;

    @ApiModelProperty(value = "供应商")
    private String supplier;

    @ApiModelProperty(value = "序列号")
    private String serialNumber;

    @ApiModelProperty(value = "扩展1")
    private String extendOne;

    @ApiModelProperty(value = "扩展2")
    private String extendTwo;

    @ApiModelProperty(value = "扩展3")
    private BigDecimal extendThree;

    @ApiModelProperty(value = "扩展4")
    private BigDecimal extendFour;

    @ApiModelProperty(value = "扩展5")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime extendFive;

    @ApiModelProperty(value = "扩展6")
    @JSONField(format="yyyy-MM-dd")
    private LocalDateTime extendSix;

    @ApiModelProperty(value = "批次规则")
    private Map<String, Object> batchRule;


}
